﻿Imports System.Data.OleDb
Public Class DataProvider
    Public Shared Function ConnectDB() As OleDbConnection
        Dim connectionString As String
        connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=QuanLyHocSinh.mdb"
        Dim cnn As New OleDbConnection(connectionString)
        cnn.Open()
        Return cnn
    End Function
End Class
